//
//  deskViewController.h
//  BeautyPicture
//
//  Created by 沈振邦 on 15/7/27.
//  Copyright (c) 2015年 szb. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SwipeView.h"
#import "keyboardToolBar.h"
#import "BPHeartMakeCenterView.h"
#import "ZYQAssetPickerController.h"
#import "customViewToolBar.h"
#import "BPProductDetail.h"
#import "CoreDateManager.h"
#import "BPCustomLabel.h"

@interface BPProductMakeViewController : UIViewController <SwipeViewDelegate,SwipeViewDataSource>
{
    UIView *_centerView;
    //灰色背景一块
    UIView *_garyBgView;
    
    //制作页面
    BPHeartMakeCenterView *_userEnableView;
    //滤镜滚动条
//    SwipeView *_filterSwipeView;
    //diy工具条层
    customViewToolBar *_customToolBar;
    
    ZYQAssetPickerController *_picturePicker;
    
    //当前点击的图片
    BPCustomView *_senderImage;
    //当前点击的textfiled
    BPCustomLabel *_senderText;
    //当前的页数
    NSInteger _pageNumber;
    CGSize _DIYimageSize;
    ALAssetsLibrary *_library;
    
    //显示键盘的view
    UIView *_keyboardView;
    keyboardToolBar *_toolBar;
    
    //选择背景色view
    UIView *_backViewColor;
    //选择底图
    UIView *_backShading;
    UIView *_mubanView;
    UIView *_imageChangeView;
    
    //模板的滚动视图
    SwipeView *_topScanScrollView;
    SwipeView *_shadingScrollview;
    SwipeView *_bgColorScrollview;
    SwipeView *_imageScrollview;
    
    //颜色数组
    NSArray *_colorArry;
    //底纹数组
    NSMutableArray *_shadingArry;
    
    NSArray *_serviceFont;
    NSArray *_textColors;
    
    CoreDateManager *MyproductManger;
}

@property (nonatomic,strong,readonly)UIView *centerView;

@property (nonatomic,strong,readonly)UIView *mubanView;
@property (nonatomic, strong, readonly) UIView *imageChangeView;

@property (nonatomic,strong,readonly)UIView *keyboardView;

@property (nonatomic,strong,readonly)UIView *backViewColor;

@property (nonatomic,strong,readonly)UIView *backShading;
//产品信息
@property (nonatomic,strong)BPProductDetail *productInfo;
//照片信息
@property (nonatomic,strong)NSMutableArray *alassetArry;

@property (nonatomic,assign)BOOL isFirst;

//图片的路径
@property (nonatomic,strong)NSMutableArray *imagePaths;

@property (nonatomic,copy) void (^block)();

@end
